//
//  BRUDPResponse.m
//  ZhuShou
//
//  Created by Dejun Liu on 15/11/16.
//  Copyright © 2015年 jw. All rights reserved.
//

#import "BRUDPResponse.h"

@implementation BRUDPResponse

+ (BRUDPResponse *)UDPResponseWithDictionary:(NSDictionary *)dic
{
    BRUDPResponse *response = [[BRUDPResponse alloc] init];
    response.clientId = [dic objectForKey:@"clientId"];
    response.state = [dic objectForKey:@"state"];
    response.stateDesc = [dic objectForKey:@"stateDesc"];
    response.serverTime = [dic objectForKey:@"serverTime"];
    response.request = [dic objectForKey:@"request"];
    return response;
}

@end
